//
//  IFAudioView.h
//  IfengNews
//
//  Created by lihongdan on 14-7-9.
//
//

#import <UIKit/UIKit.h>
#import "IFAudioPlayerManager.h"
#import <CoreTelephony/CTCall.h>
#import <CoreTelephony/CTCallCenter.h>

@interface IFAudioView : UIView<IFAudioPlayerManagerDelegate>

@property (nonatomic,strong)UILabel *leftLabel;
@property (nonatomic,strong)UIImageView *leftLogo;
@property (nonatomic,strong)UISlider *slider;
@property (nonatomic,strong)UILabel *currentTime;
@property (nonatomic,strong)UILabel *totalTime;
@property (nonatomic,strong)UIButton *playButton;
@property (nonatomic,strong)UIImageView *bgView;
@property (nonatomic,strong)NSString *audioUrl;
@property (nonatomic,assign)BOOL pause;
@property (nonatomic,assign)BOOL isSlider;
@property (nonatomic,strong) CTCallCenter *callCenter;

- (void)setup;
- (void)clickPlay;
- (void)checkStatus;
- (void)updateCss;

@end
